<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<img src="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><style>@keyframes test {from {left: 1px;} to {left: 1px}} rect {animation: test 1s infinite;}</style><rect></rect></svg>">
<script>
test(() => {}, 'Do not crash when animating CSS lengths inside an SVG image document.');
</script>